﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UploadFiles.aspx.cs" Inherits="R.DMS.UI.Web.UploadFiles" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>文件上传</title>
</head>
<body>
    <form id="form1" runat="server">
        <div class="Dialog">
            <div class="Title">
                <asp:Label ID="PageTitle" runat="server" Text="文件上传"></asp:Label>
            </div>
            <div class="Operating">
                <ul>
                    <%--          <li class="Button">
                        <asp:Button ID="CompleteButton" runat="server" Text="完成" OnClick="CompleteButton_Click" />
                    </li>
                    <li class="LineFeed"></li>--%>
                    <li class="Caption">
                        <asp:Label ID="Label1" runat="server" Text="文档"></asp:Label>
                    </li>
                    <%--<li class="LineFeed"></li>--%>
                    <li class="ContentLong">
                        <asp:FileUpload ID="FileUpload1" runat="server" width="450px"/>
                    </li>
                    <li class="LineFeed"></li>
                    <li class="Button">
                        <asp:Button ID="UploadButton" runat="server" Text="上传" OnClick="UploadButton_Click" />
                        <asp:Button ID="DeleteButton" runat="server" Text="删除" OnClick="DeleteButton_Click" />
                    </li>
                </ul>
            </div>
            <div class="List">
                <asp:GridView ID="List" runat="server" EmptyDataText="<%$ Resources:iiWeb, EmptyData %>" OnRowDataBound="List_RowDataBound" DataKeyNames="F_Id">
                    <Columns>
                        <asp:TemplateField>
                            <HeaderTemplate>
                                <input type="checkbox" id="RowCheckAll" runat="server" class="CheckAll" title="Delete" />
                            </HeaderTemplate>
                            <ItemTemplate>
                                <input type="checkbox" id="RowCheck" runat="server" class="Check" title="Delete" />
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField HeaderText="文档" DataField="F_Link" HtmlEncode="false" />
                        <asp:TemplateField HeaderText="创建人">
                            <ItemTemplate>
                                <asp:Label ID="RowCreateUser" runat="server" Text='<%# Eval("F_CreatorUserName") %>'></asp:Label>
                                <asp:Label ID="Label2" runat="server" Text="@"></asp:Label>
                                <asp:Label ID="RowCreateTime" runat="server" Text='<%# Eval("F_CreateTime", "{0:yyyy-MM-dd HH:mm:ss}") %>'></asp:Label>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
        </div>
    </form>
</body>
</html>
